home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
011
/
pchelp.arc
/
DELETE.###
< prev
next >
Wrap
Text File
|
1985-02-06
|
1KB
|
24 lines
COMMAND: DELETE DOCUMENTATION: None
FUNCTION: Deletes specified files in the current directory with user prompting.
FORMAT: DELETE filename[.ext]
TYPE: Public domain software (D.N.Ikle,1671 Newport St.,Denver,CO 80220)
REMARKS: DELETE is a batch file command, requiring the Extended Batch
Language, that provides some protection against accidental erasure
of files. A file specification, which may contain global characters,
must be supplied and the file(s) must be in the current directory.
Before the files are deleted, the file specification and the name
of the default directory are displayed. The user is then prompted
to continue or to terminate execution without deleting the files.
If the choice is to continue, the file specification is passed to
the DOS command ERASE, and the specified files are deleted. Error
messages are displayed and execution terminates if the file does not
exist in the current directory, if a path name was entered, or if
no file was specified. The DOS command DEL has been aliased to
DELETE by use of the alias file option of the public domain utility
DOSEDIT, which is installed in the AUTOEXEC.BAT file.